﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using ActiveUp.Net.Mail;

namespace MailProcessing
{
    class Program
    {
        static void Main(string[] args)
        {
            do
            {
                ApplicationFacade.GetInstance().ProcessingAllMailMessages();
            }
            while (Console.ReadLine().ToLower().Contains("q"));
            //CSVProcessing csvProcessing = new CSVProcessing();
            //csvProcessing.ProcessFileAndReturnMaxNumber(@"D:\Working\TUAN_UC\MailProcessing\Sample\Report_6AM_4\245331405.csv");

            
            
            //Pop3Controller pop3 = new Pop3Controller(MailAccountInfo.FillMailAccountInfo());
            //pop3.GetAllMessageHeader();
            //pop3.GetAllMessages();
            
        }
    }
}
